package com.ljtg.ljtgpojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(name = "CategoryDTO", description = "分类数据传输对象")
public class CategoryDTO {

    @Schema(description = "主键", example = "1")
    private Long id;

    @Schema(description = "分类名称", example = "电子产品")
    private String name;
}